package remote;

import game.components.Player;
import game.components.RuleOfGame;

import java.awt.Color;
import java.rmi.Remote;
import java.rmi.RemoteException;

public interface AppUtilitiesIfc extends Remote {

	public void resetGame() throws RemoteException;

	public int getCellSize() throws RemoteException;

	public Color getBg_playingArea() throws RemoteException;

	public Color getGridColor() throws RemoteException;

	public int getTableSize() throws RemoteException;

	public Color getX_Color() throws RemoteException;

	public Color getO_Color() throws RemoteException;

	public int getWidthOfX_O() throws RemoteException;

	public Player getPlayer1() throws RemoteException;

	public Player getPlayer2() throws RemoteException;

	public Player getTurnOfPlayer() throws RemoteException;

	public Color getBg_highlightMousePointing() throws RemoteException;

	public void setTurnOfPlayer(Player player) throws RemoteException;

	public RuleOfGame getRuleOfGame() throws RemoteException;

	public Color getHlLastMoving() throws RemoteException;

	public Player getWinner() throws RemoteException;

	public void setWinner(Player winner) throws RemoteException;

	public void saveSession() throws RemoteException;

	public boolean isGameStatus() throws RemoteException;

	public void setGameStatus(boolean gameStatus) throws RemoteException;

	public int getDeadLineTime() throws RemoteException;

	public void setDeadLineTime(int deadlineTime) throws RemoteException;

	public int getTotalSec() throws RemoteException;

	public void setTotalSec(int totalSec) throws RemoteException;

	public void changeTurn() throws RemoteException;

	public GameActionIfc getGameAction() throws RemoteException;

	public void setGameAction(GameActionIfc gameAction) throws RemoteException;

	public boolean isSever() throws RemoteException;

	public void setSever(boolean thisIsSever) throws RemoteException;

	public boolean isMultiPlayer();

	public int getPlayerID();

	public void setPlayerID(int playerID);

	public void setMultiPlayer(boolean multiPlayer);
}
